projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5765e9e
)
w32.c (sys_open): Don't reset the flags for FD in fd_info[].
author
Eli Zaretskii
<eliz@gnu.org>
Wed, 27 Feb 2013 18:00:57 +0000
(20:00 +0200)
committer
Eli Zaretskii
<eliz@gnu.org>
Wed, 27 Feb 2013 18:00:57 +0000
(20:00 +0200)
Related to bug #13546.
src/ChangeLog
patch
|
blob
|
history
src/w32.c
patch
|
blob
|
history
diff --git
a/src/ChangeLog
b/src/ChangeLog
index 42a2fd0dcac23b394ee4b33eb58e4e564d9e48e7..aa3d42d80421c5d372e9a1854f0596ea999d6fda 100644
(file)
--- a/
src/ChangeLog
+++ b/
src/ChangeLog
@@
-1,3
+1,8
@@
+2013-02-27 Eli Zaretskii <eliz@gnu.org>
+
+ * w32.c (sys_open): Don't reset the flags for FD in fd_info[].
+ (Bug#13546).
+
2013-02-24 Andreas Schwab <schwab@linux-m68k.org>
* xdisp.c (set_message): Only check for debug-on-message if STRING
diff --git
a/src/w32.c
b/src/w32.c
index dbb090d61f9eac856bca9a5d0b5172b3c574c167..56b840df797ca5db0c0d25ae522ec6bdbafe3dd4 100644
(file)
--- a/
src/w32.c
+++ b/
src/w32.c
@@
-3126,8
+3126,6
@@
sys_open (const char * path, int oflag, int mode)
int res = _open (mpath, (oflag & ~_O_CREAT) | _O_NOINHERIT, mode);
if (res < 0)
res = _open (mpath, oflag | _O_NOINHERIT, mode);
- if (res >= 0 && res < MAXDESC)
- fd_info[res].flags = 0;
return res;
}